package com.sjb.ai.controller;

import com.sjb.ai.common.BaseResponse;
import com.sjb.ai.common.ResultUtils;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author:sjb
 * @CreateTime:2024-12-09
 * @Description: 健康检查
 * @Version：1.0
 */
@RestController
@RequestMapping("/")
@Slf4j
public class MaiController {

    /**
     * 健康检查
     */
    @GetMapping("/health")
    public BaseResponse<String> health() {
        log.info("经过接口检查");
        return ResultUtils.success("ok");
    }
}
